package com.neusoft.ysu.his.service;

import com.neusoft.ysu.his.entity.CommonResult;
import com.neusoft.ysu.his.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2023-08-25
 */
public interface IDeptService  {

    CommonResult findAll();
    CommonResult findByCode(int deptCode);


    CommonResult insert(Dept register);

    CommonResult updateByCode(Dept dept);

    CommonResult deleteByDeptCode(Dept dept);
}
